package cn.blt.core.article.entity;

import cn.blt.common.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author run
 * @since 2022-08-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="BlPhoto对象", description="")
@TableName("bl_photo")
public class BlogPhotoEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "所属博文")
    private Long blogId;

    @ApiModelProperty(value = "链接")
    private String url;

    @ApiModelProperty(value = "图片大小")
    private Integer size;

    @ApiModelProperty(value = "顺序")
    private Integer sort;




}
